package com.dmai.capacity.platform.common.model;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import java.util.List;


@Data
public class Capability implements Serializable {
    private static final long serialVersionUID = 1L;


    private Integer id;

    private String code;

    private String name;

    private String requestUrl;

    private String description;

    private Integer enabled;

    private Date updateTime;

    private Long updateUserid;

    private String updateUsername;

    /**
     * 能力配备资源包
     */
    @TableField(exist = false)
    private List<CapabilityPackage> packages;

    /**
     * 共享资源包抵扣规则
     */
    @TableField(exist = false)
    private List<CapabilityPackageDeductionRule> packageDeductionRules;

    /**
     * 按量后付费规则表
     */
    @TableField(exist = false)
    private List<CapabilityVolumeChargeRule> volumeChargeRules;

}
